package com.rp.system.po;

import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

import org.hibernate.annotations.Type;
import org.raptor.entity.BaseModel3;

/**
 * 部门
 * @author Administrator334333334
 *
 */
@Entity
@Table(name="RP_SYSTEM_ORGANS")
public class Organ extends BaseModel3 {

	private static final long serialVersionUID = 6264078807673316804L;

	private String name;			//名称
	private String pid;				//父ID
	private String type;			
	private String remark;
	
	private Integer peopleNum;		//人数
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	@Lob
	@Type(type="org.springframework.orm.hibernate3.support.ClobStringType")
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getPeopleNum() {
		return peopleNum;
	}
	public void setPeopleNum(Integer peopleNum) {
		this.peopleNum = peopleNum;
	}
	
}
